//
//  RequestTool.h
//  HomeDelivery
//
//  Created by apple on 16/7/21.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RequestTool: NSObject
+(void)requestDataWithType:(NSString *)dataType andUrlString:(NSString *)string andParameters:(NSDictionary *)dic andFinishedWith:(void(^)(id response,NSError *error))block;
+(void)uploadImageURLString:(NSString *)urlString WithDict:(NSDictionary *)dict andNSData:(NSData *)imageData andBlock:(void(^)(id data,NSError *error))block;

@end
